package com.itheima.a02polymorphismdemo2;

class Cat extends Animal {
    String name = "猫";

    public void eat() {
        System.out.println("吃鱼");
    }

    public void catchMouse() {
        System.out.println("抓老鼠");
    }
}
